package com.jz.pay.factories;

import com.jz.pay.factories.dto.DieDTO;
import com.jz.pay.factories.dto.WrapperDTO;

public class DieFactory implements OnethingFactory{
    private final String TYPE = "die";
    @Override
    public WrapperDTO getInstance(String str) {
        return new DieDTO();
    }
    public boolean isCurrent(String str){
        return TYPE.equals(str);
    }
}